Skip to content

Instantly share code, notes, and snippets.

name implement
description Maintain a timestamped implementation-notes.md log while executing a spec or plan file. Captures design decisions, deviations, tradeoffs, and open questions as work proceeds. Use when the user says "implement this plan", "execute the spec", approves a plan for execution, or passes a spec/plan file path.
argument-hint <path-to-specfile>

First, read and internalize <path-to-specfile>.

Then implement it. As you work, maintain a running plans/implementation-notes-.md file that captures,

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@Saik0s
Saik0s / codex-eu-computer-use.md
Created May 9, 2026 20:58
Unlock Computer Use plugin in Codex.app for EU / region-locked accounts (in-place asar patch)

Unlock Computer Use in Codex.app (EU / region-locked accounts)

OpenAI's Codex desktop app ships with a Computer Use plugin (computer-use@openai-bundled) but hides it from users in regions where the feature isn't rolled out yet — including most of the EU. The plugin binary is already on your machine (/Applications/Codex.app/Contents/Resources/plugins/openai-bundled/computer-use/); only the UI is gated.

This guide flips two flags so the plugin appears in your plugin picker.

Tested on: macOS 15 (arm64), Codex.app version 26.506.31421 (May 2026 build). Difficulty: Intermediate. You'll edit a TOML config and binary-patch Codex's Electron bundle. Risk: Low. We back up everything we touch and never change file lengths. Time: ~5 minutes.

@Pythonation
Pythonation / prompt.md
Last active May 18, 2026 21:00
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@jedi4ever
jedi4ever / Compiling_Nodejs_Single_File.md
Last active May 18, 2026 21:00
Notes on compiling/packaging a node.js projects as a single binary

Compiling plain javascript (no external modules)

So we got nexe to compile nodejs projects to an executable binary:

  • it downloads the nodejs source
  • it creates a single file nodejs source (using sardines )
  • it monkey patches the nodejs code to include this single file in the binary (adding it to the lib/nexe.js)

$ nexe -i myproject.js -o myproject.bin -r 0.10.3

Caveats:

  • I had an issue with unicode chars that got converted: it uses uglify.js and this needs to be configured to leave them alone
@zopieux
zopieux / README.md
Last active May 18, 2026 20:58
QNAP TS-453 Pro: LCD, LEDs, fan & buttons

QNAP TS-453 Pro: LCD, LEDs, fan & buttons

QNAP NAS model TS-453 Pro has limited documentation on how to control its various peripherals, namely:

  • the front LCD display, a 2 row, 16 column blue & white LCD display, and its two menu buttons ("ENTER", "SELECT")
  • the front LEDs "STATUS" (red & green) & "USB" (blue)
  • the 4 "disk error" LEDs (red)
  • the front "USB COPY" button
  • the main rear fan
#!/bin/bash
# Configuration
PROMPT="${PROMPT:-"Continue to work on the project task board."}"
LOCK_FILE="/tmp/opencode.lock"
LIMIT=$1
COUNT=0
# Function to run opencode
run_opencode() {
@wtw24
wtw24 / docker_rus.md
Last active May 18, 2026 20:50
Шпаргалка с командами Docker

Шпаргалка с командами Docker

1552317264965 1552317537397 1552317711879

1552318467562 1552318531067 1552318577900 1552318614839

@diamondo25
diamondo25 / script.idc
Created July 30, 2015 12:02
MapleStory IDC script
// IDC script for identifying functions and such
#include <idc.idc>
#define RenameFunction(a, b) Message("Found %s at %a\r\n", b, a); MakeName(a, b)
#define START_ADDR 0x00400000
static main() {
auto addr = BADADDR;
auto onMovePacket = FindAoBAndRename("25 0C FE FF FF 05 E8 03", "?OnMovePacket@CMovePath@@QAEXAAVCInPacket@@H@Z");

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.